#ifndef GLOBALINSTANCESET_H
#define GLOBALINSTANCESET_H

#include "CommonInstanceSet.h"
#include "DbInstanceSet.h"
#include "LoginInstanceSet.h"

bool CreateCommonInstanceSet();

void DestroyCommonInstanceSet();

bool CreateDbInstanceSet();

void DestroyDbInstanceSet();

bool CreateLoginInstanceSet();

void DestroyLoginInstanceSet();

bool CreateAccountInstanceSet();

void DestroyAccountInstanceSet();

bool CreateOtherInstanceSets();

void DestroyOtherInstanceSets();

bool CreateRegionInstanceSet(Database* pDb);

void DestroyRegionInstanceSet();

bool CreateAlarmInstanceSet(Database* pDb);

void DestroyAlarmInstanceSet();

bool CreateEventInstanceSet(Database* pDb);

void DestroyEventInstanceSet();

bool CreateDeviceInstanceSet(Database* pDb);

void DestroyDeviceInstanceSet();

bool CreateStatInstanceSet(Database* pDb);

void DestroyStatInstanceSet();

/*******  agent module   *******/
bool CreateAgentInstanceSet(Database* pDb);

void DestroyAgentInstanceSet();

#endif // GLOBALINSTANCESET_H
